<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head></h:head>

<h:body>
	<ui:include src="WelcomePage.xhtml" />

	<h:form id="formConsultClientPF">
		<p:growl showDetail="true"></p:growl>
		<p:panel header="Consulta de Pessoa Física">
			<p:messages id="globalMessages" />
			<h:panelGrid columns="3">
				<h:outputLabel id="labelName" value="Nome:" for="textBoxName" />
				<p:inputText id="textBoxName" />
				<br />

				<h:outputLabel id="labelCpf" value="CPF:" for="textBoxCpf" />
				<p:inputText id="textBoxCpf" />
				<br />

			</h:panelGrid>
			<h:panelGrid columns="2">
				<p:commandButton id="buttonSearchClientPF" value="Pesquisar"
					action="#" update="@form"></p:commandButton>

				<p:commandButton id="buttonClear" value="Limpar"></p:commandButton>
			</h:panelGrid>


			<h:panelGrid columns="4">
				<p:commandButton id="buttonInclude" value="Incluir"
					action="#{clientBean.includeClientPF}" update="@form">
				</p:commandButton>
				<p:commandButton id="buttonUpdate" value="Alterar" action="#" />
				<p:commandButton id="buttonDetails" value="Detalhar" />
				<p:commandButton id="buttonDelete" value="Deletar" action="#" />
			</h:panelGrid>
		</p:panel>

	</h:form>
</h:body>
</html>